home *** CD-ROM | disk | FTP | other *** search
-
-
- PREvent 1.00
- PCBoard Rotary Event Manager
- ___________________________________________________________________
-
-
- With the release of PCBoard 14.5, I found my multiple event program
- trashed, and my need for multiple events still existing. It was a
- two hour job to write this, so I hereby dedicate PREvent to the
- public domain. If your conscience bothers you so much that you can't
- use a program without paying for it, give Telix a plug to a friend.
-
- PRevent is very simple and straightforward. It uses a data file to
- read in a list of your event times in chronological order, and matches
- them against PCBoard.DAT to determine the next time.
-
- This file, PREVENT.LST is simple. The first line is the number of
- events you wish to run, and the remaining lines are those of the event
- times. For example, I have three events, one at just before midnight,
- one at 2:30 am, and one at 4:00 am. My PREVENT.LST file looks like
- this (and is the same as the one included here):
-
- 3
- 02:30
- 04:00
- 23:57
-
- Note that order is important. The order MUST be chronological,
- starting with 00:02 (the earliest possible event time) and ending with
- the latest, 23:58. All times must be in military format. The .LST
- file may contain up to 48 differenct event times. Place this file in
- your PCBoard system directory, the same one where PCBoard.DAT resides.
- This is usually something like D:\PCB.
-
- Place PREVENT.EXE in your PCBoard system directory also. No parameters
- are required to run PREvent. Just include the command:
-
- PREVENT
-
- in your EVENT.SYS and off it goes.
-
- PREvent returns an error level based on the event it runs. In the above
- example, the 2:30 event returns an errorlevel of 1 when exiting, the
- 4:00 event returns errorlevel 2, and the 23:57 returns 3. Any error
- returns errorlevel 0. You can use these errorlevels in your EVENT.SYS
- file to take the appropriate action. Thus, if errorlevel 1 is
- returned, you know that the 2:30 event was just placed into PCBoard.DAT,
- thus the event you want to run is the one at 23:57, and can call the
- according batch file. I hope that's not too confusing.
-
- PREvent works ONLY on PCBoard 14.5. Any attempt to use it on earlier
- version are not warranted. It should not change anything in such a
- case and will return an error level of zero, but no guarantees.
-
- And now for the legal, boring stuff. I left it until the end, so if
- you don't care to read this, oh, well. It was here.
-
- Jeff Woods nor the Musical Chair warrants any part of this program. It
- is provided free, and as such, any damages it may cause to files,
- hardware, or incidental damages such as lost time or wages, are not my
- responsibility. Or, in short, I cannot behelp responsible for any
- damages resulting from the use (or mis-use) of this program.
-
- As with all software, you should backup your PCBoard.DAT file before
- trying this the first time. The latest version is always available for
- downloading from the Musical Chair at 816-561-3006, running an HST Dual
- Standard.
-